<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewResultHistory.aspx.cs" Inherits="ViewResultHistory"
MasterPageFile="~/Mobile.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form id="form1" runat="server">
    <section>
<header id="header">
<nav id="nav">
<a href="default.aspx"><div class="branding"></div></a>
<div class="nav">
<a href="quote.aspx"><asp:Image ID="imgTop" runat="server" ImageUrl="<%$Resources:CarInsurance,TopNavBack%>" Width="49" Height="29" AlternateText="Start" BorderWidth="0" /></a>
</div>
</nav>
</header>
</section>
    <section id="body">
<div class="body">
<br/>
<div class="form">
<div class="top"></div>
<div class="pad">
<h1 style="font-size:18px"><%= GetGlobalResourceObject("CarInsurance", "ViewHistory")%></h1>
<asp:Label runat="server" ID="lblNoResultMessage" Font-Bold="true" Text="" />
<br />
<asp:ImageButton ID="ibtRunNewQuote" runat="server" ImageUrl="<%$Resources:CarInsurance,RunQuotesUrl%>"
 AlternateText="Run New Quote" ToolTip="Run New Quote" 
        onclick="ibtRunNewQuote_Click" /><br />
<asp:DataList runat="server" ID="dlCarResults" CssClass="center" DataKeyField="UserResultId"
        onitemdatabound="dlCarResults_ItemDataBound" 
        onitemcommand="dlCarResults_ItemCommand">        
<ItemTemplate>
<!-- Quote Item | Starts -->
<div class="quoteItem">
<div class="header"></div>
<div class="headerTitle">
<h4><asp:Label ID="lblQuoteTitle" Text="" runat="server" /></h4>
</div>
<div class="body">
<div class="pad">
<div style="text-align:left; font-size:14px">
<%= GetGlobalResourceObject("CarInsurance", "InsuranceType")%>:
<asp:Label ID="lblInsuranceType" Text="" runat="server" /><br />
<%= GetGlobalResourceObject("CarInsurance", "GarageType2")%>:
<asp:Label ID="lblGarageType" Text="" runat="server" /><br />
<%= GetGlobalResourceObject ("CarInsurance","Status") %>:
<asp:Label ID="lblStatus" Text="" runat="server" /><br />
<%= GetGlobalResourceObject ("CarInsurance","QuoteDate") %>:
<asp:Label ID="lblCompleteDate" Text="" runat="server" /><br />
<%= GetGlobalResourceObject ("CarInsurance","PolicyStartDate") %>:
<asp:Label ID="lblPolicyStartDate" Text="" runat="server" /><br />
</div>
<div class="separator_7px"></div>

<div runat="server" id="divCompleteButton" visible="false" style="text-align:center">
<asp:Button ID="ibtShowSavedQuote" runat="server" CssClass="button_viewcompletedetail"
                CommandName="ShowSavedQuote" />
</div>
<div runat="server" id="divPartialButton" style="text-align:center;margin:0 auto;">
<asp:Button ID="ibtShowResult" runat="server" CssClass="button_showresult" OnClientClick="this.className='button_w_processing'"
            CommandName="ShowResult" AlternateText="Quote Results" />
<asp:Button ID="ibtDeleteResult" runat="server" CssClass="button_deleteresult" CommandName="DeleteResult"
            AlternateText="Delete Quote" />
</div>
<div runat="server" id="divPartialButton2" visible="false" style="text-align:center">
<asp:Button ID="ibtRerunQuotes" runat="server" CssClass="button_rerunquote" OnClientClick="this.className='button_w_processing'"
            CommandName="ReRunQuotes" AlternateText="Re-Run Quote" />
<asp:Button ID="ibtDeleteResult2" runat="server" runat="server" CssClass="button_deleteresult"
            AlternateText="Delete Quote" />            
</div>
<div class="clear"></div>

</div>
</div>
</div>
<div class="separator_15px"></div>
<!-- Quote Item | Ends -->
</ItemTemplate>
</asp:DataList>
<section class="note">
<asp:Label ID="Label3" runat="server" Text="<%$ Resources:CarInsurance,ReadAbout%>" /><br /><asp:HyperLink ID="hlnkAboutUs" runat="server" NavigateUrl="<%$ Resources:CarInsurance,AboutGGUrl%>" Text="<%$ Resources:CarInsurance,AboutGG%>"></asp:HyperLink>
</section>
</div>
<div class="bottom"></div>
</div>
</div> 
</section>
    </form>
    <!-- Google Code for Results Page TH Conversion Page -->

    <script type="text/javascript">
        /* <![CDATA[ */
        var google_conversion_id = 1013678288;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "ffffff";
        var google_conversion_label = "DissCNDAtgIQ0IGu4wM";
        var google_conversion_value = 0;
        /* ]]> */
    </script>

    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>

    <noscript>
        <div style="display: inline;">
            <img height="1" width="1" style="border-style: none;" alt="" src="http://www.googleadservices.com/pagead/conversion/1013678288/?value=0&amp;label=DissCNDAtgIQ0IGu4wM&amp;guid=ON&amp;script=0" />
        </div>
    </noscript>
</asp:Content>
